﻿using System;
using System.Xml.Linq;
using DevDefined.OAuth.Framework;

namespace Lightray.Hattrick.ChppLib.OAuth
{
    interface IOAuth
    {
        XDocument AccessProtectedResource(string url);
        IToken AccessToken { get; set; }
        IToken ExchangeRequestTokenForAccessToken(string verificationCode);
        String GetAuthorizeUrl();
    }
}
